﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace Pay.Data {
    /// <summary>
    /// 统计 账单收益  用户等级数量
    /// </summary>
    public class TokenStatistics {
        public long Id { get; set; }
        /// <summary>
        ///会员id
        /// </summary>
        public long MerchantId { get; set; }
        /// <summary>
        /// 待确认收益
        /// </summary>
        public decimal UnConfirmProfit { get; set; }
        /// <summary>
        /// 累计获得收益
        /// </summary>
        public decimal ConfirmProfit { get; set; }
        /// <summary>
        /// 待冻结收益
        /// </summary>
        public decimal FrozenProfit { get; set; }
        /// <summary>
        /// 可提现
        /// </summary>
        public decimal? Deposit { get; set; }
        /// <summary>
        /// 提现中
        /// </summary>
        public decimal? Depositing { get; set; }
        /// <summary>
        /// 已提现
        /// </summary>
        public decimal? Deposited { get; set; }
        /// <summary>
        /// 冻结业绩收益
        /// </summary>
        public decimal? FrozenBusProfit { get; set; } 
        /// <summary>
        /// 业绩可提现
        /// </summary>
        public decimal? BusDeposit { get; set; }
        /// <summary>
        /// 业绩提现中
        /// </summary>
        public decimal? BusDepositing { get; set; }
        /// <summary>
        /// 业绩已提现
        /// </summary>
        public decimal? BusDeposited { get; set; }
        /// <summary>
        /// 创客开通数量 （只有市分公司才有）
        /// </summary>
        public int TotalOpenMaker { get; set; }
        /// <summary>
        /// 剩余开通数量
        /// </summary>
        public int TotalSurplusOpenMaker { get; set; }
        ///// <summary>
        ///// 总业务员
        ///// </summary>
        //public int TotalSalesman { get; set; }
        ///// <summary>
        ///// 直接业务员数量
        ///// </summary>
        //public int TotalDirectSalesman { get; set; }
        ///// <summary>
        ///// 间接业务员数量
        ///// </summary>
        //public int TotalInDirectSalesman { get; set; }
        ///// <summary>
        ///// 总创客数
        ///// </summary>
        //public int TotalMaker { get; set; }
        ///// <summary>
        ///// 总节点商城数
        ///// </summary>
        //public int TotalNodeMall { get; set; }
        ///// <summary>
        ///// 总超级节点数
        ///// </summary>
        //public int TotalCountyAgent { get; set; }
        ///// <summary>
        ///// 总城市级公司合伙人数
        ///// </summary>
        //public int TokenCityAgent { get; set; }
        /// <summary>
        /// 创建时间
        /// </summary>
        public long CreateTime { get; set; }
        public virtual Merchant Merchant { get; set; }
    }
}
